<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="rod" uri="/WEB-INF/rodland-tags" %>

<h1>File uploaded!</h1>

<s:if test="!parsingErrors.isEmpty()">
    <h2>Errors</h2>
    Some errors occured when uploading file.<br><br>
    <table>
        <s:iterator value="parsingErrors" var="line">
            <tr>
                <td>${line}</td>
            </tr>
        </s:iterator>
    </table>
</s:if>

<h2><s:property value="size"/> rows found for <s:property value="lines"/> lines:</h2>
<table>
    <s:iterator value="rows" var="row">
        <tr><rod:dbrow row="${row}"/></tr>
    </s:iterator>
</table>
